/* PEDEX Magazine | DNNForge NewsArticles | Scoped to pdx-mag- */
.pdx-mag-list-col,
.pdx-mag-list-col *,
.ArticleView.pdx-mag-detail,
.ArticleView.pdx-mag-detail * {
  box-sizing: border-box;
}
.pdx-mag-list-col {
  margin-bottom: 28px;
  min-width: 0;
}
.pdx-mag-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 22px rgba(28, 43, 89, 0.055);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.pdx-mag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(28, 43, 89, 0.12);
  border-color: #c9e3de;
}
.pdx-mag-card__link,
.pdx-mag-card__link:hover,
.pdx-mag-card__link:focus {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}
.pdx-mag-card__link:focus-visible {
  outline: 3px solid #109979;
  outline-offset: -3px;
}
.pdx-mag-card__media {
  position: relative;
  aspect-ratio: 3/4;
  background: #f2f5f8;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 14px;
}
.pdx-mag-card__media img,
.pdx-mag-card__media picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 5px 12px rgba(28, 43, 89, 0.1));
  transition: transform 0.35s;
}
.pdx-mag-card:hover .pdx-mag-card__media img {
  transform: scale(1.025);
}
.pdx-mag-card__label {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 6px 11px;
  border-radius: 5px;
  background: #1c2b59;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.pdx-mag-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 21px;
  text-align: right;
}
.pdx-mag-card__kind {
  align-self: flex-start;
  padding: 5px 10px;
  margin-bottom: 11px;
  border-radius: 5px;
  background: #edf8f5;
  color: #0c826e;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.pdx-mag-card h2.pdx-mag-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 10px;
  min-height: 25px;
  color: #1c2b59;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 800;
  text-align: right;
}
.pdx-mag-card__excerpt {
  color: #657388;
  font-size: 13px;
  line-height: 2.1;
  
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.pdx-mag-card__excerpt p {
  margin: 0;
}
.pdx-mag-card__more {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e8edf2;
  color: #109979;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}
.pdx-mag-card__more span {
  font-size: 20px;
  transition: transform 0.25s;
}
.pdx-mag-card:hover .pdx-mag-card__more span {
  transform: translateX(-4px);
}
.ArticleView.pdx-mag-detail {
  direction: rtl;
  text-align: right;
  color: #29374c;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__intro,
.ArticleView.pdx-mag-detail .pdx-mag-detail__section {
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 27px;
  box-shadow: 0 5px 22px rgba(28, 43, 89, 0.045);
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  direction: rtl;
  gap: 32px;
  padding: 30px;
  align-items: center;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__cover {
  margin: 0;
  aspect-ratio: 3/4;
  padding: 12px;
  background: #f3f6f9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(28, 43, 89, 0.1));
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__eyebrow {
  display: inline-block;
  background: #edf8f5;
  color: #109979;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 13px;
}
.ArticleView.pdx-mag-detail h1.pdx-mag-detail__title {
  display: block;
  margin: 0 0 18px;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.85;
  font-weight: 800;
  color: #1c2b59;
  text-align: right;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__kind {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 13px;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__kind span {
  color: #718095;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__kind strong {
  color: #0c826e;
  overflow-wrap: anywhere;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__summary {
  font-size: 14px;
  line-height: 2.35;
  color: #617186;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__summary p {
  margin: 0;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__section {
  padding: 27px 32px 32px;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__heading > span {
  width: 4px;
  height: 25px;
  border-radius: 4px;
  background: #109979;
  flex: none;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__heading h2 {
  margin: 0;
  color: #1c2b59;
  font-size: 19px;
  font-weight: 800;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__text {
  font-size: 14px;
  line-height: 2.5;
  color: #4f5f74;
  overflow-wrap: anywhere;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__text img,
.ArticleView.pdx-mag-detail .pdx-mag-detail__gallery img {
  max-width: 100%;
  height: auto;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__gallery {
  overflow: hidden;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__files a {
  color: #109979;
  overflow-wrap: anywhere;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__back {
  margin: 20px 0 35px;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__back a {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid #dce5ee;
  border-radius: 7px;
  color: #1c2b59;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.ArticleView.pdx-mag-detail .pdx-mag-detail__back a:hover {
  background: #1c2b59;
  color: #fff;
}
@media (max-width: 767px) {
  .pdx-mag-list-col {
    margin-bottom: 20px;
  }
  .ArticleView.pdx-mag-detail .pdx-mag-detail__intro-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .ArticleView.pdx-mag-detail .pdx-mag-detail__cover {
    width: min(100%, 360px);
    margin: auto;
  }
  .ArticleView.pdx-mag-detail .pdx-mag-detail__section {
    padding: 22px 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pdx-mag-card,
  .pdx-mag-card__media img,
  .pdx-mag-card__more span {
    transition: none;
  }
}
